pub fn folder_dir_name(name: &str) -> StringExpand description
The directory name for a folder, cleaned up as Eagle does on the Mac:
tabs and runs of spaces become one space, : / and \\ become
spaces, the ends are trimmed and a trailing dot is dropped. A name left
empty becomes “Untitled”.