Wrapper on top of OutputFormat to produce multiple outputs using AvroMultipleOutputs.
This can be used to write avro records to multiple paths in spark as mentioned here: https://stackoverflow.com/questions/40798008/how-to-write-avro-to-multiple-output-directory-using-spark/62065831#62065831