Saves Dictionary to Text file