Files with spaces in filename not uploading correctly