Remove more uses of sys::Path.