changed CSVWriter.php