Extend JPEG metadata to XML files / Python / Tkinter