'Append a datum to the file.'

def append(self, datum):

    self.datum_writer.write(datum, self.buffer_encoder)
    self.block_count += 1
    if (self.buffer_writer.tell() >= SYNC_INTERVAL):
        self._write_block()
