fixed file output bug, if corpus is ../some_dir/corpus, pickled classifier is in wrong folder