Issue #8716: Fix errors in the non-OS X path of the 27 backport.
Issue #8716: Fix errors in the non-OS X path of the 27 backport.

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