Use tempfile to get temp directory instead of hardcode '/tmp'
Use tempfile to get temp directory instead of hardcode '/tmp'

Also, just a small change, then rally could be executed on windows.

Change-Id: I5b122cf218fd1162b7ace6822b66f52cd3b4df91

openstack/rally,openstack/rally,openstack/rally,openstack/rally