unsafe Fast _WriteEncodedString*

Another take at _WriteEncodedString, this time using unsafe and a char
buffer.