fix line endings in original files before gitattributes etc
Don't call thread exception handlers on mono that aren't implemented yet