Fix Python 3 compatibility.

As of 20-5-2014, spykeutils does not support Python 3, but the tests
that do not rely on it are passing.