[utils] Catch strange Windows errors (Closes #4733)