Changed string.format syntax to support Python 2.6

Since Py2.6 is bundled with Sublime Text 2, this change makes it work there...
Merge pull request #4 from fredrikw/master

Changed string.format syntax to support Python 2.6