Use stdio instead of a temp file.