correctly save the calibration config file