msc: Encode stdout and stderr in base64 for mmc-agent XMLRPC
Refs #2297