Modify TemplateRenderer to use ThrowIfFaulted instead of Task.Wait
Fixes #782