update the counters for number of objects per block and uncompressed bytes
Actually write the buffer out