Checks for errors in dicom2nifti