#71 moved optional file extension append to out of the template loader