LPS-42647 Strip file extensions for template names