Remove a use of sys::Path.