app: port gimp_pdb_dump() to GIO