Updated openwire generation scripts so that they produce file with consistent newlines even on windows. Updated dotnet generator due to refactor