Fixed #60, the sorted file is now created with 600 permissions.
Changed the macros for hotfix on GCC 4.7 and above
Create log files with 600 permission
Improve concurrency test in case of race conditions between the two forks, more error tolerant now