Fix two `FakeFs` inaccuracies (#64569)

This PR fixes two inconsistencies in our FS testing code:
- Copying a file with `overwrite: true` would not actually update the
file in the FS.
-  Deletion of symlinks that would not work otherwise.

Moving this out of some other changes I am currently working on.

Release Notes:

- N/A
2a4157111cFinn Evers committed on 9/22/2026, 9:18:57 AM· committed by GitHubparentb54cc1d
2 files changedLine totals unavailable