unix_apply.c: extract non-link directory reparse points as directories