bugfix in statefile name and --snmpwalk