Fix python2.6 gzip bug - take 2.