Merge "Py3: `reduce` is not a built-in anymore, use six.moves instead"