Add try/catch block around rendering of template.

Without this the grunt task will silently exclude files that have
errors.