Revert "LPS-50259 No need to normalize path like freemarker did, since we redo all the logic of loading a template."

This reverts commit 5c7935397e3c52fa52375442039267b1c8eaf6eb.