Added ability to extract tar files to a temporary directory. (Temporary directory should be deleted after use)