Replace all strerror() with g_strerror().