Stream seek fix.

It seems that .NET uses seek to increase stream size.
Removed GetCurrentSegment since it's not used.