Get raw contents because .encode doesn't work
Merge branch 'split_log_streams' into stable