Don't add .mustache extension to template file name if it already has an extension

It's reasonable to want to have "home.html" be a mustache template, for example. The current logic will turn that into "home.html.mustache" in development but not in production.