Allow - in filename safety check.