BUG: Format and decode errors in Python 2.6

Fixes two small errors on Python 2.6
- Improper use of keyword arguments in format, e.g errors='strict'
- Improper use of position-less format string