fixed keyring for windows

There is a unicode issue with Windows 8 at a minimum.  The .encode('ascii') fixed the problem for windows and I tested it on OSX and there was no problem.