Add SD_FLAG_* to remaining 'dir' settings