Programmatic handling of file handle access modes.
Tightened up ADBShadowedFilesystem path conversion to be consistent with expectations of ADBFilesystem API.