Add a constructor to ZlibCompressed that takes a mode parameter