Make sure stat of dest is available in atomic_move

Fixes #6682