Wrapped the shutil.rmtree in vocabulary_generator in case of errors due to timing effects of .nsf files.