Fixing string formatting for Python 2.6.