fix string format for Python 2.6