fn escape_glob_path(pattern: &Path) -> CargoResult<String>