syncdaemon: Write version and pid to /data/local/tmp/syncdaemon.pid