Return the containing directory of the thing to which pathspac points. For example: (containing-directory /foo/bar/bis.temp) /foo/bar/ > (containing-directory /foo/bar/) /foo/