xseg: Fix permissions of the logfile

Make sure that the new logfiles are readable and writable by the group of the
process that creates them.