add new option --strip_newlines

It is useful in some cases where xml contains newlines