Fix app names with linebreaks or semicolons.