actually use engineFromPath; invoke with the file path, not string

First of all, you left the "handlebars" constant there ;-)
Secondly, we should pass the file path, not the string. Otherwise, we break eg. `extends` in swig.