Fix parallel testing by using the multi-process safe cbook.mkdirs
Merge pull request #2049 from mdboom/create-testing-cache-using-cbook-makedirs

Fix parallel testing by using the multi-process safe cbook.mkdirs