change .old and .diff to .old.jpeg and .diff.jpeg