Fix filename always being set to the first file's path.
Merge pull request #8 from abrkn/master

Fix filename always being set to the first file's path.
Version bump to v0.3.0
test(main.js): add test cases for templating with assets