The NIfTI file generated by tckmap from a TCK file cannot be opened

The NIfTI file generated by tckmap from a TCK file cannot be opened.
tckmap input.tck ouput.nii -template align.mif
but it shows that unable to read this image format 768