Update io::Read manual implementation to upstream API changes