unlink empty file if download fails