pub(super) fn normalize_user_path(raw: &str) -> Result<PathBuf, PathError>
Normalize a user-provided path, expanding ~ and making it absolute.
~