Add compatibility with binaryio.py in oktavia.py