Add support for specifying the format of report filenames and directorie...

...s in the archive.

This implements: https://trac.torproject.org/projects/tor/ticket/13232#comment:1