extract archive python script