Modified the implementation of AvroTypeIO.write to NOT flush the underlying stream (safe because DirectBinaryEncoder does no internal buffering).