Use platform specific line separator for file system output BUKKIT-2370

@Zidane - Added Libigot tags, applied separators to more places.