Sanitise filenames