gpath_save(): Only flush buffer when we have 4MB of data
Fix bug in printing sorted paths; Tune memory GPathSet allocation