Bug fix - use only one path in tree_create().

Otherwise, the process crashes due to a stack overflow - the stack may be smaller than (2 * PATH_MAX).