I've made a system that makes unique names for coll, buffer, vst~ files and saves them to disk when a preset is saved with pattrstorage.
I use an opendialog for writeng files from pattrstorage, but just before doing so, regexp isolates the path of the preset then mkdir makes a folder for all the files used by unsupported objects as COLL, then the contens of the object is written to the folder with a random name. The last thing happening before pattrstorage writes to disk is the pattr objects connected to COLLs, etc. being updated to remember the random name...
the unique naming system im using has 3.656.158.556.454.912 posible filenames...so it really makes me not having to think at all.
another beauty is that if I am recording into a buffer and stores a preset with pattrstorage, the contens will restore with the preset.