do not append default template extension if ext() is undefined or blank
Merge pull request #14 from mla/master

do not append default template extension if ext() is undefined or blank