When replacing files, don't delete ignored ones

Fixes #112 

Please review @awd @nwjsmith 

/cc @cshold