In the performance-log viewer, cache the results of source-file lookups, to speed up future lookups. (cherry picked from commit 97498017)