Add pax extensions for long filename support.

The pax (POSIX) extensions are more portable than GNU LongLink headers.
Add a posix_extensions value that encodes these long filenames as pax
extended headers (type 'x').  Enhance the tests to test this code.

The code would need a small amount of refactoring to support both types of headers at the same time, so I avoided this for the moment.