installer: use $TMPDIR instead of hardcoded /tmp

Change some temporary paths to honour $TMPDIR instead of hardcoded
full path. This allows to invoke the installer with a custom tmpdir
location. Note that $TMPDIR is used (same value) in all hosts though.
Related to part 1 of:

Bug 1146694 - Minor updates to oo-install