Use pathlib for `work_dir` attr
pathlib is the way to go now for a few Python releases, the work_dir attribute is still a string created with os.path
pathlib is the way to go now for a few Python releases, the work_dir attribute is still a string created with os.path