posix: don't use Tree::remove while iterating over files to remove in the PosixSubsystem destructor