Fix possibility of non-removed symlinked directory.
https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860
Merge pull request #4091 from resurtm/4080-file-helper-remove-directory-symlinks

Fix possibility of non-removed symlinked directory.