If we had two PCF files with the same metrics previously, we'd overwrite
the rules file from the first with a new file from the second. Keep
track of which files we've written during the run, and append to them if
we've already started writing. Finish them all up at the end.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>