Corrected CSV writerow() call