fixed case in which move fails after remote user copies file and sudo to non root does the move
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Apply Gilles's patch to atomic_move based on github comment.  (Email address not supplied
since wasn't from a pull request)