BUG: fix safe_write on windows when dst already exists.

This fixes safe_write to not fail when the destination fail already exists.

This fixes all the windows-specific test failures for test__post_install_lib tests.