Switch to the new IO API as the old one is gone