Construct a TarInfo object from a 512 byte bytes object. To support the old v7 tar format AREGTYPE headers are transformed to DIRTYPE headers if their name ends in '/'.
tarfile/TarInfo.frombuf
TarInfo.frombuf