With this patch the 'Directory::lookup_and_lock()' function passes its 'return_parent' argument to recursive calls of itself. Fixes #306.