Fixed the way extensions are checked so that it can cope with filenames with multiple .s, e.g. 'test.extra.periods.nii.gz'
Fixed the way extensions are checked so that it can cope with filenames with multiple .s, e.g. 'test.extra.periods.nii.gz'

spinicist/old_QUIT,spinicist/old_QUIT,spinicist/old_QUIT,spinicist/old_QUIT