Fix bug: output term vector file.