fs/memfs: Add empty directory parsing support for (CustomTree).Tree