show diff before replacing files, and only ask for replacement if two files are different