Don't do that. Replacing entire files is a bad idea, and this is one example why. If that was a more critical system file, your config would have rendered any system it was restored on inoperable.
Using a patch is much better way to accomplish that task, and if things change too much, the patch won't apply, but the system will still be operational.