Support https files in RemoteFile downloader