I am trying to follow the solution from question How to write a csv file in binary mode? (or somewhat related Python: reading from binary zipfile into csv) by playing with a tes