Strip whitespace from filenames fix (after replacing some characters with space)