Handle it when blksize doesn't fit in our id size
Track written_length as a size_t

When writing multiple vectors from a nearly-too-big-for-dof_id_type
system, we can end up actually-too-big-for-dof_id_type.
Merge branch 'fix_smallids'