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.