refactor downloading into single powershell calls and use `%APPVEYOR_BUILD_FOLDER%` env var