How To Write A String To A File Python