Only wrap BytesIO and compressed streams