make tmp, sockets, and pid directories