Updating mox import
Try to handle either str or bytes when verifying signature.