IIRC native doesn't support paths longer than MAX_PATH characters (everywhere, not only in DIR command)
even relative paths are first transformed into absolute, and dropped if larger than MAX_PATH
so we need to skip this entry rather than dynamically allocate the buffer