utils: Let file-(generate|overwrite) write to many files

Change-Id: I5d14dc4920e44343b2934e673d94ad4ed7991ca9