app: port gimp_text_buffer_load() and _save() to GIO
app: fix copy/paste GError bug in some calls to g_file_replace()