Split output into files small enough for the OSM API.