Python 2.6: decode() takes no keyword arguments

Fixes "TypeError: decode() takes no keyword arguments" in Python 2.6
Merge pull request #10 from kesu/master

Python 2.6: str.decode() takes no keyword arguments