cylc.daemonize: reset umask after daemonized.

Reset `umask` so suite does not create world writeable files.

(This also removes trailing spaces from some lines.)