Patch Units (fix memio->IOBuffer deprecation)