Try harder to find the real executable for a given path.