Add newline option

Allows to specify a specific newline character.