Fix build for tee (Reader.eof())

From https://github.com/mozilla/rust/pull/11376