fix array-type target.files; fixes #8