Preserve Python 2.4 compatibility.

A new style of string formatting was introduced in Python 2.6.
Preserve Python 2.4 compatibility by switching back to the old style.
Merge pull request #29 from jcollie/master

Preserve Python 2.4 compatibility by switching back to the old style string formatting.