Fix .format() to work with older Python versions

This fix makes it possible to execute:
pycallgraph graphviz -o calls.png -f png -- ./myscript.py 

on Python 2.6.6. 

There are probably other places which need patches but haven't bumped into them yet!