Py3.2 StringIO didn't like getting bytes.