Ok, so turns out Java decided to be a pain and not use system dependent new lines...