app: port GimpImageMapTool settings import/export to streams

Simplifies and centralizes error checking and reporting.