mkvuidmerge: added return error code

also exits if fail to get uid