avoid no __exit__ attribute for python 2.6

This [issue has been fixed in python
2.7](http://bugs.python.org/issue5511) but for python 2.6
ZipFile object is not compatible with with_statement : it raises
AttributeError: ZipFile instance has no attribute ‘__exit__”