Improve handling of TemplateGroupString.FileName (fixes #3)