pe: Fix SectFlag.String method logic. Add workaround until issue 8374 is fixed.