LUCENE-2438: We decided that bytes should never be null, so i changed the recently added external serialization methods to conform to this.