write out avro files instead

@sb2nov minor change to write out avro files instead of directly to hive.