compat str.format syntax with py26