Update cursors.py

 Fixed to work with py3k. Found in this issue: https://github.com/petehunt/PyMySQL/issues/109 (shaun-jss / PyMySQL_py3k)