Write A String To A Text File Python