I checked it out and in fact poo is brown because of a combination of bile and bilirubin. I didn't find anywhere that said it was yellow and turned brown by bacteria.
"Human fecal matter varies significantly in appearance, depending on diet and health. Normally it is semisolid, with a mucus coating. Its brown coloration comes from a combination of bile and bilirubin, which comes from dead red blood cells.
In newborn babies, fecal matter is initially yellow/green after the meconium. This coloration comes from the presence of bile alone. In time, as the body starts expelling bilirubin from dead red blood cells, it acquires its familiar brown appearance, unless the baby is breast feeding, in which case it remains soft, pale yellowish, and not completely malodorous until the baby begins to eat significant amounts of other food." Wikipedia entry for feces