Fix confirmation of replacing existing file