Fixed a bug where our base64 stream was inserting garbage characters. We now hard-terminate the string