Revert "fix"

This reverts commit b8edde5e116b323405731284e7634a31547efb7f.
Revert "Use stdout instead of a temporary file"

This reverts commit 105c5fdfca621ea9335dcc7b21516775c08eb4fa.