Fix daemonize

Fix https://github.com/volkszaehler/vzlogger/issues/63