Python 2 back compat fixes
Merge branch 'master' of https://github.com/Gadgetoid/py-spidev