Fixed mismatched parenthesis highlight on write_image & read_image

Because on my colour scheme (evening) it makes the closing parenthesis red, and red is definitely bad. :-)