Fix template path with different cwd.
Merge pull request #4 from patzim/master

Fix template path with different cwd.