add a workaround for EPERM issue on windows

Derived from @korto's fix:
https://github.com/rlidwka/sinopia/issues/67#issuecomment-44782521
0.13.2