Fix error when running Ghost with a socket

fixes #2879
- Syncronously unlink old socket file
Merge pull request #2880 from halfdan/2879-socket-issue

Fix error when running Ghost with a socket