Fix memio->IOBuffer deprecation