download(..) should return the file name
Merge pull request #6764 from aviks/as/fix_dl

download(..) should return the file name in Windows