Fix string formatting for py26