123531: Reimplemented support for creating patches on Windows.