core: Remove no longer used function templateFileExtensionNew

This function was introduced in commit 54c36cb, but the code that used it was
removed in commit 9357800.
Merge pull request #197 from vhda/core/remove-templateFileExtensionNew

core: Remove no longer used function templateFileExtensionNew