zz-uenv_txt: more error checking

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>