Made robust_rename() return a 1 if it had to copy the file.