python2.6 .decode takes no kwargs
A bit of 2/3 compat