rewrote tar extraction code to work with 1.9.2