fields were not saved at all, add the fields-stream to the actual output stream