001.cf used dcs_fini() to replace apparently identical content to what dcs_tidy() is used for here.
The latter is a better name for it (as "fini" is quite unintelligible), albeit I'd prefer dcs_purge(), since we seem to be deleting a file or recursively deleting a directory and everything under it.
Having more than one name for a thing is confusing.  If two things do very similar things but are actually different, their names should give the user some clue to what the difference between them is.

I don't see dcs_fini defined anywhere, nor does this commit appear to contain a renaming of default_fini to dcs_fini.  I don't see any definition of dcs_tidy or (in recent master) of a default_tidy.  Where are these bundles defined ?