Update Tar.class.php

Tar file completely revised. Since import problems there.