Refactors some header processing.

This moves some code out of Archive::TarStream into
Archive::TarStream::File::Header where it belongs.