Fix missing binmode for target file in stream_to_tempfile