export some stats to csv for external processing