Example: use bytes, not str for b64encode.

This should fix Python 3.2 doctest.