Extract archive files safely (avoiding so-called tarbombs)