correct error signalling for opendir() failure