Improved filename sanitation removing non-ascii chars.