Allow template engine and template file extension as options