remove bug

removed bug "download for files with whitespaces in the filename"