make it runnable under python 2.6
port with statement to try catch clause (ZipFile can't be a context
manager yet by 2.6)