Fixed string formatting to be compatible with python 2.6
Preparing for 2.0 release