Convert the filename from a traceback to an absolute path.

A relative path can interfere with the project root detection, since python
may have relative paths in the traceback.