Used totoshi's CSV writer instead.