Change config file from error prone format to xml.