Fix race-condition when creating test_directory in test-base.cfg.
Merge pull request #17 from 4teamwork/lg-fix-makedirs-race-condition

Fix race-condition when creating test_directory in test-base.cfg.