You want the latest version of Mobiunpack
in the Mobipocket forum and you want to use the split option to separate the Mobi & KF8 portions.
You can run it from the command-line as well to batch process multiple files. You may also need to use Kindlestrip to trim the included source files as well. IIRC, it's included with Mobiunpack.