Sanatize string to allow space in filenames