pub fn canonicalize<P>(path: P) -> Result<PathBuf, Error>where P: AsRef<Path>,
Like std::fs::canonicalize(), but on Windows it outputs the most compatible form of a path instead of UNC.
std::fs::canonicalize()