Wrap Python 2 pow(x, y, z) args in long() to protect from newints

Closes issue #87