FIX str.decode in python2.6 does not take keyword arguments

https://docs.python.org/2/library/stdtypes.html Seems to suggest that the problem is the keyword, not the error handling.  I think this can be changed to `x.decode('ascii', 'replace')`