Python Extract String Between Stringstream Getline Command