Support templates that use icons from files.
Fix #312 - Complex project templates are not correctly built.