tests: Use /tmp for UNIX sockets on iOS

temporaryDirectoryPath is too long on the simulator.