Fixed issue when several destination files are indicated

Grunt supports a list of files. However, even if files_list
loops over this list, it writes only the last one. It should
generate all indicated files.