Added CorpusWriter for MALLET.