add isFileClosed for S3AFileSystem