since the image class is only used from `public static CompilationMode GetCompilationMode(string file)` we dont need to track the stream position. ie it is only used from a stream image owns and disposes of.  so remove `positionWhenCreated`. also since Image opens the stream it will always be  starting at position 0 so `this.stream.Position = 0;` is redundant