Multi-line tokens would be written with `LF`, regardless the `end_of_line` setting. Fixes #228 and also produces end_of_line specified line-endings in strings.