If extname is set only register partials with that extention (allows for dupe filenames in same directory)