Ported to external iRODS library and DNAP Utilities library.