str2bin.py now converts integers to the correct binary representation.
The built in bin() python function makes the data type a string. This would raise problems for XOR'ing the key with the payload.