changed how py4j connector returns output of geogit commands.

It seems that, for large strings, Py4j it is not working and it freezes. This commit implements a different approach, in which strings are obtained in smaller fixed-size chunks