Use `path.join` when possible.