Fix to add new line char to meta line, when both options are enabled

When the option to add a new line char to the end of each line is enabled, the code was not appending one to the final meta line.