fix download url (remove trailing newline)