unix-fd: add basic marshalling code for unix fds