[C] Add CSV formatting for percentile histogram