retain 'errno' on the final unlink()