Save unsent files' names to a local file
Periodically save file names of unsent exported files to a local file in case of connection outage to remote storage server.
Until now if probe process was restarted during connection outage, the list of unsent files was lost. Now names of unsent files are saved to a local file so in case of probe restart the new probe process can pick it up and again try to send these files when connection to remote storage is reestablished.
Name format of unsent files file: dns-probe-.p..unsent
Examples: dns-probe-default.p1.traffic.unsent dns-probe-ins1.p0.stats.unsent