Fix a couple of code paths on which, if fxp_readdir returned an error,