Remove newlines consistently

See #30.