PeParsey seems to only be a reader, not a writer.
section.flags |= 0x8000_0000 doesn't work for instance.