Add PEP 393-flags to strings and stub usage.

The test suite all passes, but nothing has actually been changed.