Clear flags for the temporal string stream to avoid conversion errors

String stream flags were not cleared and this was causing all the
unicode characters of a string to be converted as the first encountered
unicode character.

Example:
"first á followed by é" -> was being encoded as "first á followed by á"