Python Extract String Between Stringstream Getline Function