Fix daemonize bug using py-daemon