THRIFT-1977: Fix to ensure proper C# class names

Patch: Jens Geyer