Fixes to register-impala-udfs.py