XD-282 Adding an avro sink similar to the hdfs sink

This one depends on XD-282 PR #363