get a child as a directory
Directory childDirectory(Directory dir, String sub) { return dir.fs.directory(dir.fs.path.join(dir.path, sub)); }