header: support setting the fieldset type
header: support setting the fieldset type

Also: validate 'type' field, and split the prefix/path properly
when the prefix size is 0 (because basic fieldset).

npm/node-tar