Added positional arguments in some string.format calls for Python 2.6 compatibility.