pub fn validate_filename(name: &str) -> Result<(), String>
Validate a new file name against portable rules.