Added Gzip helper function to IO_helpers.py