Fix deleting files if dir contain its