Fix glob on empty directory for SafeFileAccess.

Fixes https://github.com/facebook/hhvm/issues/2389.