TmpInput: support .Z files