I think this will fix the newline issue, but I'm not totally ure (it would appear git doe indeed have dos2unix). I'll check on it.