var2xml: fix for 'rootname'