fuse: fix bug in wrappingFS, and add test coverage.