pub fn safe_component(name: &str) -> bool
Check whether a name is safe as one directory component on the current platform.