Delete only files that should be deleted

Keep those that should be overwritten.
Merge pull request #1 from ineu/rewrite

Delete only files that should be deleted