WIP: Actually pass a_flags along so we can detect extended-dirent usage.