Prevent spaces in prefix filenames