Make segmentdb output files in standard format