Move more general stuff to ebib-utils.el