Fix division for Python 3