Fix Python 2.6 string format compatability