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.
you can encapsulate this for in another method, it will make code much more readable