Fixed issue with the command XmlTidy not working as it should.