XMLOutputArchive: Do not take c_str from a temporary string
adding size() to speed up copy