[tools] Nick class poorly overrode .lower(), causing problems when used as a unicode