Changed to used gzip python module.