Fix broken stacktrace navigation to references of the form `foo/eval16959/fn`

I closed #850 prematurely and cannot reopen it now. The problem is not fixed. Sometimes info middleware doesn't return file location. In those cases just pick the file from stacktrace.
The middleware error should also be visible in the REPL buffer, so users are unlikely to miss it.