CsvWriter implements Closeable interface