FIX: close gzip stream before closing underlying response

gzip closing is calling finish which writes to the underlying outputstream.
Therefore it MUST NOT be closed before.