[Bug 60220] GetLastError() returns garbage after file API calls, breaking .NET exception mapping