Make sure a token is a string. Fixes #83.