Sanitize file name

fixes #46