tappet.in (write-index/files!): Fix a bug

* tappet.in (write-index/files!): Fix a bug: Include all files in the
  index, not only the first from the list.