pub fn format_path(path: &Path) -> String
Format each path element on its own line, each line successively indented by 4 spaces.