Adding check for null when CompressionCodec is not set in SequenceFileRecordWriterProvider