Issue #14: Use createDirectoryEntry to create empty directory.