Fixes #5137. Added Elgg_EntityDirLocator.