Use BytesBuilder for turning a byte stream into a list of bytes

R=ajohnsen@google.com

Review URL: https://chromiumcodereview.appspot.com//114323003