Add untar method to gearman client

Jenkins sends log files tarred and bz2 compressed, while gearman worker assumes
the log files are not tarred at all and gz compressed only.
Exception handling?