Merge pull request #10 from pyca/python3-porting-fixes

Correct some mistakes made during earlier Python 3 porting work.  Mainly, keep accepting both bytes and unicode in a few APIs.