[xbuild] Don't crash when reporting top level unknown elements
[corlib] Use invariant culture for GetTempFileName generator