Bug 725905 -- Change format strings to be compatible with python 2.6