Preprocess handlebars templates.