More useful exception
test to show problem with unicode handling
make sure we send bytes to zipfile
completely redo close and writefile
Merged master fixed conflict
#95e05a4 merged