Do not try and use failed opendir()ed DIR*s.