Monkey patching XMLBuilder for surogate pairs.