Fix formatting in report script

This really should have gone in the py26 fixes branch, but I didn't get it done
in time. It's a bunch of really simple formatting errors which differ in
python 2.6 and 2.7.