Correctly fall-back to .hbs files instead of throwing exceptions.

When attempting to fall back to .hbs, we were calling a function on a string (oops) and
not updating layoutExt, which would cause the wrong engine to be used below.