Small WriteStats.py change and comments