[tor-commits] [chutney/master] Use pathlib Path.rename when renaming pidfile