The script now handles filenames with spaces and such. It also removes any old files from previous deployment.