I don't know the best git way to fix it. You could always manually wget the file, make the changes, and commit it.  I usually spot these things during a diff, then I checkout and apply manually before committing.