ENH: Updates os path split to accept nii.gz files that contain an extra period