helper: Move escape_underscores() here.