record: change return value of recording code
It makes it easier to include interactive mode to more commands that
require to get a reference to the newly created node
revert: fix --interactive on local modification (issue4576)
We were moving files during the backup phase and it was incompatible with the
way record/crecord is working