Use fputcsv with STDOUT instead of building our own CSV. Props @scribu