change temp dir handling for TestBmtagger