Work around for archetype:generate forcing OS line endings.

When processing template resources (filtered="true") the archetype plugin forces all content to use the current OS specific line endings. Treat shell scripts as binary files in the archetype plugin and instead move the shell script variable replacement to the build phase of the resulting project.

Shell scripts don't work when they contain Windows style line breaks, so it is important to preserve the original line breaks even when building on Windows.