pub fn normalize_write_target( path: impl AsRef<Path>, ) -> Result<PathBuf, ShellError>
Canonical form of a path that may not exist yet (a save target): the parent must exist.