Fixed string formatting for Python 2.6