Python Extract String Between Stringstream Getline Library