Fix daemon mode in multiple programs

  - seaf-controller
  - seaf-daemon
  - fileserver
  - seaf-server