GError.code is always 0 on Windows