Remove open_wb option from CreateTempFile.

There's really no reason we would ever want to open a file in text mode on
Windows. Also fixed linter errors in test_Doption.py.