Changing methods of IOReader so they will return byte arrays