Python 3 fixes for 3 packages.
Aside: The code in CSCCalibAlgs looks really obsolete (hardwired castor commands)