Better sanitize filenames when exporting to CSV