fix handling of d_name in struct dirent
[musl] / arch /
drwxr-xr-x   ..
drwxr-xr-x - i386
drwxr-xr-x - x86_64