some methods moved from Util to OozieUtil and BundleUtil