Couple of Python 3 fixes to setup.py

Here’s a couple of fixes I had hanging around. One of them actually highlights that the is_keychain_provider_available() function always returned True (which would also be the case in your Python 2 branch). My commit fixes that, but I don’t have any OS Xes to test it on.