Use absolute paths for the templates
Merge pull request #341 from Nesk/fix-template-paths

Use absolute paths for the templates
Fix file path