[engine] Fix crash when RECIPE CRASH step name has pipe character.
[engine] Fix crash when RECIPE CRASH step name has pipe character.

R=tandrii@chromium.org

Change-Id: I7dd39e2c81232b799c41bf1d7b4c80a75a67f36b
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/recipes-py/+/1831597
Auto-Submit: Robbie Iannucci <40f3d43a28ebae3cb819288542e1c84d73d962d5@chromium.org>
Commit-Queue: Andrii Shyshkalov <a30c74fa30536fe7ea81ed6dec202e35e149e1fd@google.com>
Reviewed-by: Andrii Shyshkalov <a30c74fa30536fe7ea81ed6dec202e35e149e1fd@google.com>

luci/recipes-py,luci/recipes-py