(a) the select=*.dita is actually a regular expression masquerading as a glob, and you should be able to use something like select=[A-Za-z0-9]{7,}.dita
to be more selective.
(b) the function document-uri()
applied to a file returns the URI of the input file if known, and from this you should be able to construct the require output file name.