fixed bug in Mojo::Template where newline characters could get lost