Rewrite IOBase.readall to avoid costly string resizes, and plug a leak
2 files changed