Fix race condition while removing object directory
Merge pull request #71 from andralex/rdmd

Fix race condition while removing object directory