Fix issue #488 Avoid several files with the same name in template archive
Fix issue #488 Avoid several files with the same name in template archive

- Use the required name attribute for the filename in the archive instead
of the source filename
- Check to avoid two similar file path in the archive instead of checking
that a same source file is not used two times

usharesoft/hammr,segalaj/hammr,emuus/hammr,usharesoft/hammr,segalaj/hammr,emuus/hammr