Quick fix for python3, bin to hex