Add a 'lower' filter to the templates to replace string.lower which no longer exists. Fix udev_escape, the strings are already unicode, and drop --chdir from runcmd. It wasn't ever used, and passing cwd to the new runcmd isn't supported.