qlgather: write a log file in ORAC_DATA_OUT

This is to help Craig diagnose DRAMA errors. At the moment the log
file contains the names of the files known to qlgather once it has
received data from all the monitors. Errors are also written to the
log file.