csv-gzip-sql test uses binary write mode