Fixed zip behavior to be Py3 compatible; fixed write_csv issue in #637