fixed name errors in dump_transition_stats.py