csv.reader have different constaints on underlying file objects
csv.writer have different constaints on underlying file object in py2
and py3