Fix typos in image.py
Add support for appending content to existing ini file sections