XWIKI-9804: WikiStream: do not write output result always to string
* fix varible name