> e.g. for an $uri like 'Shared/d/a.txt' I get back a local stoage and a Path 'hared/d/a.txt'
Most probably related to the mount point looking like /user/files/Shared.

Are you sure you didn't do something wrong? resolvePath returns [null, null] if the mount isn't found