pidfile removes path from sys.argv[0]