use DataFileWriter to append avro data