pub fn normalize_path(
    path: &Path,
    base: Option<PathBuf>
) -> Result<PathBuf, Error>