Use IOBuffer in place of memio.
Clean and fast readtable implementation