Fix yet another 2.7 CSV module incompatibility issue.
Fix yet another CSV 2.7 incompatibility issue, this time with StringIO needing to be BytesIO.