Fix commitFiles -a defect