Bugfix: Saving and reading newlines created errors

Signed-off-by: Matthias Kümmerer <matthias@matthias-k.org>