Sound like an easy fix on the side of Signal. First work on temp and when everything turned out successful, delete the old directory and move temp to new.
That would be fine if the files were not already messed up, or if the Electron app framework they used building Signal could be persuaded to actually UI.