abbreviates warning for non image files
bugfix for siemens dicom, no num_slices in header