Improve xmlrpc escaping

With extension: back to markup escaping option as cdata doesn't check
for ]]> in input strings (thus requests can easily be broken)
Without extension: ]]> sequences are now split in two cdata and only
strings are now escaped
Improved Windows compatibility with UTF-8 filenames