refine the export file of rt-histogram