write CSV header