Python Save String To Text File