Fix concurrency bug.
Change Freedb so that it can test different Directory types.