send headers in fake log files to observers, check line endings, and encode properly