fix handling of multibyte characters in streams for google-gauth
Fixes #5285 - There were only integration tests in google-gauth, but I have added some unit tests. Is this okay? - I also used npm link to verify locally that the issue has been resolved.


