dvr: remove bad LIST_REMOVE() call if entry has no channel
Fix #1588 - epg: forgot to check string bounds for epggrab channel name
Fix #1589 - only remove "unsafe" characters if configured to do so.