rename file when uploading, remove spaces in filenames