Replace join_paths method by GLib.Path.build_path.