Add support for configurable temporary directory

Change-Id: Ic984b8055c7d2926433ba0f2b87ba9f3e567ea2a
5 files changed