Use a custom handler for g_printerr