I tried to do what you have suggested as the same thing happened to me. However, I could do this successfully. I then created a new file with the same name and the intended (correct) content of the sudo file and deleted the corrupted sudo file, respectively copied the sudo file to the etc/pam.d/ folder and overwrote the file. That played the trick for me.