Retarded thing isn't handling line endings on windows like it should.

So I had to fix it myself. Hooray for the tr -d '\015' trick.