use tmp dir

Change-Id: Ie31a526f1a705c87b913c7d62c2ed27541ba5fa4