Overhaul of preservedFiles system

With the tag changes, it meant that the old semantics for preserved
files didn't make sense. Now you have to specify which refs you want to
actually preserve the files on