Writing In Text File Python Open