Could you solve your problem by appending a unique number (perhaps the spawned number) or string to the file names?

------------------
Marty