chore(tests): Replace /tmp with ./tmp in tests

For the functional tests, this is achieved via a symlink from /tests/functional/tmp -> $(pwd)/tmp. There’s probably a less hacky way to do this. :-)