Add quotation marks to template names in diagnostics.