FastSerializer: check for valid output stream in one place is enough

Change-Id: Id89fb1f0444331c2858a9795ae81dcdb875d3d2b
FastSerializer: Have OString version of write() too.

And remove characters() member function.

Change-Id: Ifcedbb6d969b7b057ff378d2fbce09c2dde5ac18