Correctly handle header sizes.

Also rename s/phdr to s/phdrs as we now need a name representing a
single header element.