(c++/boost) randomly permutes lines from a file or stdin