Fix: actually use ScalarSerializerBase.WriteScalar.