I think ``signature_string.encode('utf8')`` would be a better place to do this.