Return -E_OSL_NOENT if stat/open fails with errno == ENOENT.