Fix configfile unittests 325

Fixes #325 

This is an implementation of @exarkun 's third suggestion on #325, using an environment variable.
`self.mktemp()` can be relative, I think, so might want to `FilePath(self.mktemp()).path` it.