Fixed race condition with rimraf