Remember path from init time.

If we run the test from a relative path, and it uses TempDir(),
then the relative path will be incorrect otherwise.
Python 3 fixes.