Use platform specific line separator for file output; Adds BUKKIT-2370

This only modifies the output used to write the log to the file system.

[BUKKIT-2370](https://bukkit.atlassian.net/browse/BUKKIT-2370)