Update helpers for Phobos 1.0. Make convert script more resilient.