Add decode() to b64encode() to eliminate 2.x and 3.x encoding differences