pub fn path_info(entry: Result<DirEntry>) -> Result<(PathBuf, String)>
Get path and file name from a DirEntry.