Right now, we're inconsistent between checking in and inlining these. The outputs are small in Puffin, so let's just inline them in all cases.
temp_dir
Internal refactoring for consistency between tests