fix(upgrade): safe copy file and remove
Merge pull request #112 from virgo-agent-toolkit/fixes/upgrades_safe_copy_file_and_remove

fix(upgrade): safe copy file and remove