WCDH: Make it possible to generate multiple files.

Extend the write_compiler_detection_header interface to allow
specifying a location for supplementary files, and getting the
list of resulting files as a variable.
Merge topic 'WCDH-multi-file' into next

b35719e5 WCDH: Make it possible to generate multiple files.