BibEncode: fix uuid Python 2.4 compatibility
- Adds as a compatibility function for uuid4 in case the module has not been installed. (closes #1478)
Co-authored-by: Tibor Simko <tibor.simko@cern.ch>
Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>