Yes it would be possible to save to a temp directory.
But nobody has yet implemented it.....
A patch would certainly be welcome. But it is not trivial, since files may depend on other files in that directory, so those also need to be saved. All search path must be updated. "Uses Unit1 in FileName1" must be taken care off. Maybe the new dotted unit name also require files in the correct places....
Just copy the backups back.
But best is always a local repository (git, svn, anything). And commit often, really often.
If something gives trouble 2 month (even years) after you changed it (maybe conflicts with another change you try to make), then you can still have a look at what exactly you changed back then, maybe even roll back the one revision only.
And with good log messages you also know why you did it.