added fix for zkb.py gzip exception