[cvs-nhc98] When an 'opendir' failed it created a foreign object with