py3: write out hgextindex as bytes in setup.py
I hit this trying to build the py2exe target using python3, just to see what
would happen. After commenting out py2exe.Distribution in setup.py and
pointing to a local copy of py2exe that supports python3, it complained that
out was bytes, not str.