Hi Geoff,
These FITS header keywords (XBINNING, YBINNING, XPIXSIZE and YPIXSIZE), among others, represent the acquisition conditions, not the current state of the image after geometrical transformations such as resampling, rotation, etc., and hence shouldn't be changed.
Unless all of the images need exactly the same set of keywords, changing FITS header keywords selectively on a group of images requires writing a simple script. As noted, however, you're going to change keywords that should be preserved. What are you trying to do with these images?