Use python from env.
Remove most of _compat.py.
Run python-modernize --no-six.
Change style of _compat.py.
Use io.BytesIO instead of StringIO.
Get test_objects, test_file, and some of test_pack working in python3