Change map_stream to use Hash#fetch

This moves the logic for whether to use a default key or not into the
Hash class, where it belongs. Tell, don't ask and all that.

This pull request may also have the ulterior motive of finding out why pull requests aren't being tested on Travis, so please don't merge this in quite yet (assuming you want to actually merge this change).