Ensures the output to be a character filename (or vector) from an input
image or nifti/afni.
# S4 method for class 'afni'
checkimg(file, allow_array = FALSE, ...)character or afni object
allow arrays to be passed in
options passed to afni_3dAFNItoNIFTI