msxml3: Properly handle writer output in a form of BSTR.