*SCAN cursor values are now longs (ints on Python3) rather than strings.

fixes #474.