Don't read an InputStream twice.