prompt if the user wants to clobber an existing file

Change-Id: I23647c3147daaa82861c7e89381835157f0cfbd4