Fix dump script.