Unify the 'unique suffix' handling used by the client packages.  Tighten up temporary directory handling, deleting them when possible.