Closes fd for log files on `kill -HUP`. Fixes #187