fn downgradeLock(file: File) LockError!void
Assumes the file is already locked in exclusive mode. Atomically modifies the lock to be in shared mode, without releasing it.
TODO: integrate with async I/O
file: File,