patching the parallel directory writes