override delete_file but check self.dry_run