fix bug in loading nifti/analyze file for src