Fix #8886. Use context managers throughout zipfile tests.

This was fixed in py3k SVN. Consider this a backport.
1 file changed