Make scp updates atomic.