support fat plugins, part two
extract _loadSlicesFromUnipackage
write node modules correctly for fat packages

also, fix generateFilename("x", {directory: true}) to actually generate
a unique x.