recover single line ending

Signed-off-by: TomWu <phperwuhan@gmail.com>