py2.5 fix for contextmanager issues with gzip.open