Fix race condition in test_motor_grid_file
Goodbye Python 2.5, Tornado has dropped support for you.