Auto merge of #5244 - Eijebong:tempfile, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 26 Mar 2018 12:37:09 +0000 (12:37 +0000)
committerbors <bors@rust-lang.org>
Mon, 26 Mar 2018 12:37:09 +0000 (12:37 +0000)
Replace tempdir by tempfile

The former has been deprecated in favor of the latter


Trivial merge