small cemantic change in detectFileUpdate. If files has been updated before rmt finished copying it to remote host, it will still copy the update while next validation