Changed how Unpacker#each creates an Enumerable

The previous way broke in some versions of JRuby.