byteStreamToString: Add encoding parameter, defaulted to UTF8