Fix a whole bunch of error return NULL that should be return -1.
Fix a whole bunch of error return NULL that should be return -1.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator