This crashes now. I noticed now when you got the errors printed that OpenFile will throw this when trying to open a directory:

    Could not open pid file: open testing: is a directory

So you would be covered even if you remove the `os.Stat` check since we now fatal here.