stream more data between input and output so that blobs and such don't cause too much memory usage