For future reference the carb kit for the 78-79 XS400 contains the correct needle jet. The box and most vendors will tell you otherwise, but I received in the mail yesterday and it's a perfect match.
Please visit siriusconinc.com for parts like this. They were very helpful and pleasant to deal with.