Use a custom temporary directory under target dir for tests, because memory-mapped files cannot be removed automatically by the tests themselves