Read string from InputStream