Now deletes directory when download fails to start fresh.