using decodebytes with Python 3 instead of decodestring; minor version up