Fix mobi metadata overflow problem
Fix mobi metadata overflow problem

This was killing upload since an exthRecord would have length 0, this
would subtract 8, and then we'd allocate a byte array of massive
length. Not fully investigated whether the new behaviour is totally
correct.

hawx/alexandria,hawx/alexandria