Creates temporary files and directories for testing.