utils: Add file-overwrite

This commit adds a binary 'file-overwrite' which changes the content of given
file to be validated by file-validate.
It also does cosmetic changes in file-generate.