std.windows: use atomic rename, if possible (#16717)

Mitigates #14978.

Uses the same strategy as in #16499 suggested by @squeek502
7a834e2581matu3ba committed on 8/24/2023, 12:11:01 AM· committed by GitHubparent6780a6b
2 files changedLine totals unavailable