Trying to kill daemon and avoid traceback when no process is running.
Fix the path when mockify is called outside its directory.
Remove deprecated file.