Tesla says it has fixed the flaw that allowed teen hacker to gain access to owners’ email addresses.