Python 3.x fix for sklearn.utils

(it breaks e.g. "import sklearn.metrics" under Python 3.3)