writeDescriptorReference

Creates the desc.ref file containing the reference to the descriptor file(s) with the known types.

Works only with the main scope descriptors.