[Applications] Adds replacement of spaces with underscores in file names when uploading

(refs #4683)