Remove forbidden characters for filenames