further fixed to py2.6 gzip inspection