Fix cf-upgrade's self-copy in windows.

Source ``open()`` above should also use ``O_BINARY``.