xml-backend: Escape whitespaces when writing file to disk
An old bug that has surprisingly never been reported. As stated in the
g_markup_escape_text()
documentation, white spaces are not escaped,
whereas GMarkupParser expects them to be escaped on reading (otherwise
they are replaced by a space).