With this error and all of the others below I suspect that the default message will not have enough context for the user. It would be better to generate a message that gives the user more information, e.g.::

    log.Fatalf("Error extracting process id from pidfile '%s': %s", *pidPath, err)