Use a TypeError, rather than a ValueError, when refusing to treat a str as a Vec