make warcindex work in python3, using raw bytes everywhere