plugin.api: Attempt to fix relative paths in stack trace.