[RIO][RArray] improve IO.readlines() performance