Prevent div by zero in TFile::CpProgress