DeltaJen: use mkstemp for tmp files

This fixes the issue on windows (and linux vm's)
where a subprocess can't access the temp file.
DeltaJen: fix fd error with STDOUT

on windows (and linux vm), subprocess.STDOUT can't
be opened correctly.

Use None instead to use the default behaviour of Popen
DeltaJen: add gapps survival

The current gapps deletes and overrides some system files

add support for skipping files that have been changed by
the gapps packages.
Merge remote-tracking branch 'upstream/master'