make bipython python3 compatible

thanks to python-modernize for doing the lifting here.

In particular, I used @bfroehle's fix_add_future branch from
https://github.com/mitsuhiko/python-modernize/pull/5