Just use a pipe rather than a temp file.