Implement AvroOutputFormat

Please do not swallow exceptions. Please rethrow them with an appropriate message (using a RuntimeException so)