Update distribution.py

Fix up unicode problem -- rsa expects a byte stream