pub fn normalize(path: &Path) -> PathBuf
Normalizes a given path by removing redundant components. The given path must be absolute (e.g. by joining it with the current working directory).