[checkmk-commits] Use pathlib2 a bit more often.