Filesystem: use fast operation first in emptyDirectory()
Filesystem: use fast operation first in emptyDirectory()

stefangr/composer,milleruk/composer,composer/composer,staabm/composer,johnstevenson/composer,stof/composer,nicolas-grekas/composer,alcohol/composer,localheinz/composer