Added xz support via popen