bs58: encode() speed up final string conversion.

With this change, bs58.encode with 32-digit input runs in about 80% the time the previous version took.