Sanitize file name

Another bunch…
This can use a similar technique as below.