Adds fieldnames attribute to Corpus class. Adds write
method to Corpus class.