CRUNCH-316: Converted SafeAvroSerialization to use DirectBinaryEncoder instead of BufferedBinaryEncoder.