tests/unix_sockets: Write a trailing null when sending out strings