Fix EPERM on win32.