Fix Python 3 by not mixing unicode and byte strings.