Don't do blocking i/o on the processing thread when rendering handlebars templates.

Closes #218.