fix filenames reported if the data files are not found

previously the server would include the template suffix (e.g. template.hbs.json
and template.hbs.yml) in the error message, leaving the user with no chance to
fix the problem.