python/srl_encoder.c: Dump Py_None
python-enc: Dump regex patterns.

Dumps modifiers re.I,re.L,re.M,re.S,re.U,re.X.
python-enc: srl_write_header returns error on OOM