As a workaround until 1.16 you can change the script to resolve this issue:
REM
REM Helper script to download an img file.
REM
rmdir /S /Q img 2>nul
mkdir img
echo Downloading %1 ...
Powershell Invoke-WebRequest %1 -OutFile img\%2
move img\%2 .
... View more