convert gzip.GzipFile calls to gzip.open, which plays much nicer with strings and text
sometimes bsub has trouble talking to scheduler