Fixed issue: some legal filename characters like dashes were not allowed in template names.