Fix dump/restore paths.