Make it possible to override log filenames

This is sort of a work in progress, and so far all existing code has
been ported to using `Partitions` objects rather than simple String
arrays. While I’m all for keeping it simple, using arrays all over the
place will make the code more complex than needed.
Add helper methods for formatting of `Partitions`