tar: fixing extracting files that are dirs https://github.com/coreos/rocket/issues/250