Reformat paths.