add ensure_newline

We've had an issue where some files we're concatenating together have no newline at the end of the file resulting in a broken file.  This change adds $ensure_newline to the concat type so we ensure that all fragments end with a newline character.