Fixed the remaining osx pid file issues