app: port themerc writing to GIO