DownloadFileTask: Support redirection across schemes (e.g. HTTPS to HTTP)

Android's HttpURLConnection does not redirect across schemes even if
set(Instance)FollowRedirects() is set to true, so add a manual fallback.