Valid filenames fix in Windows