Rewrite remote files to use a uri rather than a fuse mount.