Serialize args in msg_send
Serialize args in msg_send
Use mkstemp for generating filename
Add actual sending to msg_send, remove unnecessary sockfd
Fix gener