fs/memfs: Add Cd
fs: Add Tee method for recording accessed file tree