Fixed up some format strings for p2.6

These are needed for python 2.6 support.