changes to make it work with python 3.3

Hi, I tried your great work on eloipool-scrypt. But I'm using Python 3.3. I made 2 changes to make it work with Python 3.3