This is old but I just wanted to add that I encountered this exact problem when I was attempting to merge a file to a Stream using a view on another Stream.