Add try/catch block around rendering of template.

Without this the grunt task will silently exclude files that have
errors.
Merge pull request #2 from UseAllFive/error_checking

Add try/catch block around rendering of template.