jobcomp/filetxt - Reopen the file on SIGHUP

Previous logic never reopened the file, preventing proper functioning
of logrotate.
Merge branch 'slurm-2.6'