Fix references to file-related functions and methods (os.* vs file.*).
Fix references to file-related functions and methods (os.* vs file.*).

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