Fixes #5679: lineinfile ignores newline in line argument