image_io.py: cleanup commented code