Remove NULL bytes from the XML data.  NULL bytes are invalid XML, and cause the RPC call to fail.