Added removing of download directory if download failed