Add a tempfile helper to work around rspec randomness issues