C:\Program Files\The Tournament Director 2\templates\StatsExport.html
If you can't find it, you can install the program again. Don't uninstall, just install again to the same location. This will re-install all templates, and it won't overwrite your database, saved tournaments, or preferences.