Tweak source file tracking in exception logging