Also catch WindowsErrors in retry_on_ioerror decorator