don't forget to split per-alt lists! when deduplicating

oops
bugfix: TempFile::create() doesn't work when stdout is closed

it was testing if mkstemp() > 0 instead of -1, which is the actual
error condition