stat: be robust to PATH_MAX definition