Fix behavioral issue related to the InputStream provided by the S3N
FileSystem.