fix Issue 13098 - std.path functions no longer works with DirEntry