Correctly generate strings with newlines for Android