Fix bug: log write line breaks in windows format, it is Unix format now.h