tests/test_nanshe_learner.py: Revert tempfile.tempdir to the default value.
nanshe/nanshe_learner.py: Set cwd.