This MR lets us open CRT file descriptors where underlying OS file HANDLEs have the FILE_SHARE_DELETE
flag. That makes it possible to:
- Rename opened files
- Mark opened files for deletion (which will then happen as soon as all handles are released)
Fixes #539