cache: Fix LockViolation during C compilation paths (#13591)

- C compilation flows didn't hold an exclusive lock on the cache manifest file when writing to it in all cases
- On windows, explicitly unlock the file lock before closing it
8ccb9a6ad3Casey Banner committed on 12/7/2022, 4:15:54 AM· committed by GitHubparent14416b5
3 files changedLine totals unavailable