pub fn path_to_string(path: &Path) -> Result<String>