Fix `reduce` imports for Py3.