Don't generate idnex files for the parent directory if the current directory is the root of the gallery.
Add default 'date' attribute.