pub fn to_absolute_path(path: impl AsRef<Path>) -> Result<PathBuf>
Given a path, return the absolute path of it