Fixing FileStream for dotnet 2.0