ByteReader didn't work with Python 2. Fixed.