refactor: split dir.cpp aout of vfat.cpp