Fix format string for Python 2.6

Fixes #465

Signed-off-by: Michal Čihař <michal@cihar.com>