Make gen-diffscuss python 2.6 friendly.

The same check_output workaround as for the mb stuff.