Get YAML dump/load working with byte streams.

All tests now pass on 3.2.