Errors on templates with all-lowercase filenames are not reported.

Long story: if addTemplate(templateName) fails the error is overwritten with the result from addTemplate(lowerCaseTemplateName). However, if the lower case name is the same as the filename, the function returns early without error at
```go
if _, ok := loader.templatePaths[templateName]; ok {
  return nil
}
```