allow replacement of strings in paths

Helps examine cores from binaries installed in different locations to
where a core was originally generated.