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
Merge pull request #1506 from bashtage/python-2-6-fixes

COMPAT: Fix format and decode errors in Python 2.6