updated zlib benchmark to use streams