Bugfix for last patch: don't end the stream before writing the data.
1 file changed