Fixed #68

Removed the length argument of endCollection, added the correct length to beginCollection.

See: https://github.com/scala/pickling/issues/68