Cleanup dir structure.