Fix tundra.gzip:compress to work correctly by first closing the
byte array output stream before accessing the underlying byte
array