Using NTA_CHECK for directory creation failure