Fixed all .format() strings to be compatible with Python 2.6