Implement the new --skip-empty-dirs (-k) option.