Remove new lines from text areas on save.

Resolves #390