Don't use cache in {Public,Private}KeyFile

It's cheap to compute those strings again, and they are used
very infrequently (in one-time code and error messages).
Merge pull request #1234 from dottedmag/refactoring/remove-pubkeyfile-privkeyfile-globals

Don't use cache in {Public,Private}KeyFile