Make sure we are passing a byte to base64.b64decode.