test: clean up

Remove the temporary files and directories we create as part of running
the test suite.