change .pid file handling
Merge branch 'master' of https://github.com/HolgerHees/cloudsync