Retain InputStream and use sensible buffer size.