Add g_strdup to argv elements in string_to_argv

This makes context menus work again on my computer.