Move Avro schema converter to util.