Close if passed an io.ReadCloser.

This was mostly just to get rid of some code and still be able to pass
plain readers around.