Added directory support to Dcm2nii