Fix newlines for some more files

This inflicts CRLF newlines on quite a lot of TDF files, plus exterminates mac newlines in mex gadgets.