Fix for issue when file or directory name is "0"

If name of file or directory is `0` - this name shouldn't be removed in `::resolveDotDots` method.
Solution is to use `strlen` function as callback in `array_filter` - it will works similarly, but values of 0 (zero).

Likely, should be backported into 3.3 LTS branch (I can add another pull request against 3.3 branch if this is OK).