Convert Hadoop XML configuration files to sorted properties files