Save dictionary to file Python Tkinter