Add metadata argument to all save_corpus functions