Restore minimal part of old IO for jossl 0.9.5 to work.