use 'mv' to make targets atomic