Handle pcrs_execute() errors in template_fill() properly.