Apply settings only to *.cs files

Refs https://github.com/dotnet/corefx/pull/56#issuecomment-63719328