Spec out the tempfile helper