Fix endian issue in merge_topo_bathy.