Attempting to use tempfile with new versions of File::Temp. Ref: http://www.dagolden.com/index.php/2109/why-the-latest-filetemp-might-surprise-you/.