Fixed bug where downloaded archive was not deleted