[schema] deal with py3k's string types [applied]