uuid.cpp now ensures lowercase uuid

On Mac OS X the uuid::generate() function yielded an uppercase string. The
function now converts the uuid to lowercase.