Add more escaped() calls in directory.c

Patch from teor to fix 13071.