LOW : fixed XML encoding when writing file