PIDCalib: update the DIRAC interface to be py3-compatible
Tested with source /cvmfs/lhcb.cern.ch/lhcbdirac/lhcbdirac prod.py3
and works in both current & future DIRAC interfaces.
This will prevent from sudden crashes once the next version of LHCbDIRAC is released.