Join path components using path.join().