Fixed compilation on older systems where mv does not have the -n option.