decode the binary file (as needed in python3) required to calculate correctly the weights for LHE events