typo correction
added sys.io.file.mode