Fixed #6412 -- More details if a template file cannot be loaded

Report more details about template files in loader postmortem.