use relpath for the tempdirs in tests