Fix cp28386.

Add additional checks of the passed in mode.

I'd like some additional eyes on this one since it's a pretty fundamental part of IronPython (opening files).
TL;DR: open("newfile.txt", "rt+, ccs= UNICODE")

See http://msdn.microsoft.com/en-us/library/yeby3zcb.aspx under the "Unicode Support" heading.