Fixed stats.txt file
Closes #48