added convert(::Type{UUID}, ::ASCIIString)

Can't you just `write(io, a)`?   It looks like `a` is already a `Vector{Uint8}`.