Use stdout instead of a temporary file