Sanitize file name

Another bunch…
Fair point. Will adjust. My Javascript clean-code ability are somewhat suboptimal ;-)