testsuite: Fixed CfgPublicKeyCreator tests

Instead of mocking get_filename, use its normal functionality.  This
avoids a messy situation where we have to mock out a **magic call,
which py2.5 doesn't like at all.