fix(injector): add use of system EOL character

using the \n character would break usemin and some other tasks that keyed
off the current OS new line character