Fixed uploading files with spaces in names