Wraps a stream and disposes additional resources when the stream is disposed.
Initializes a new instance of the DisposingStream class.