Fix for python 2.6 compatibility

http://docs.python.org/2.7/library/string.html#formatstrings