append mime-type to ziplist
use a tmp dir for cwd of subprocess