Log#contents encode before save. (#27)