add snappy compression for output batches