fix gradle wrapper executable bits

This was added under windows.
fix minor encoding problems

All should be utf-8 now.
build fix for case-sensitive platforms

a.k.a. builds on linux now.